#include "OgreRoot.h"
#include "OgreGLES2Plugin.h"

namespace Ogre
{
	static GLES2Plugin* plugin;

	extern "C" void _OgreGLES2Export dllStartPlugin(void) throw()
	{
		plugin = OGRE_NEW GLES2Plugin();
		Root::getSingleton().installPlugin(plugin);
	}

	extern "C" void _OgreGLES2Export dllStopPlugin(void)
	{
		Root::getSingleton().uninstallPlugin(plugin);
		OGRE_DELETE plugin;
	}
}
